package com.ming_za.odupdaterserver.core.controller.cmd;

import com.ming_za.odupdaterserver.OdUpdaterServerApplication;
import com.ming_za.odupdaterserver.core.mco_core.API.CmdOperate;
import com.ming_za.odupdaterserver.core.mco_core.Cmd.CmdCreate;
import com.ming_za.odupdaterserver.core.utils.Msg;

@CmdCreate(cmd = "version",explain = "查看服务端版本")
public class VersionCmd implements CmdOperate {
    @Override
    public boolean onCommand(String command, String[] args) {
        Msg.getInstance().soutMsg("&b当前版本：" + OdUpdaterServerApplication.getVersion());
        return true;
    }
}
